#ifndef  _EXP_I2C_H_
#define _EXP_I2C_H_

#include "data_types.h"

#define BUTTON_ADDR 0x22
#define RBUTTON_MASK 0x04
#define LBUTTON_MASK 0x02
#define UBUTTON_MASK 0x01
#define DBUTTON_MASK 0x08
#define ARBUTTON_MASK 0x20

Int16 pullUpBank0();
Int16 updateButtons();
Uint16 get_rButton();
Uint16 get_lButton();
Uint16 get_uButton();
Uint16 get_dButton();

Uint16 push_rButton();
Uint16 push_lButton();
Uint16 push_uButton();
Uint16 push_dButton();
Uint16 push_arButton();
#endif
